Setting Proxy Definitions

To enable the use of a proxy server for Antivirus/Anti-Ransomware, you need to edit two files on the IBM i, as described on the Proxy Definitions screen (STRAV> 81 > 41).

          ​ Firewall and Proxy Setup for Antivirus and Anti-Ransomware​           
                                                                                
 Set your organizational firewall to enable access to:​                          
  ​
 For *RAZLEE   - 74.208.236.138, Ports 443 (ssl), regular (80)           ​     
  ​
 For *INTERNET -​ the list specified in​ http://www.clamav.net/mirrors.html     
                                                                                
 To enable use of a Proxy server, press F8 or enter:         ​                   
  ​
 EDTF STMF('/SMZVDTA/etc/freshclam.conf')​                                     
                                                                                
 Set the values on the following lines: ​                                        
   HTTPProxyServer=<IP Adrress/host name>​                                       
   HTTPProxyPort=<Port number>           ​                                       
                                                                                
 For *INTERNET, set also (if the Proxy requires credentials):​                   
   HTTPProxyUsername=<user name>         ​                                       
   HTTPProxyPassword=<password>          ​                                       
                                                                                
 Remove the preceding "#" from every line that is in use.​                       
                                                                                
                                                                                
                                                                                
 F3=Exit​  ​ F8=Edit freshclam.conf​  ​ F12=Previous​                                
                                                                                
                                                                                

Edit the freshclam.conf file with the command

EDTF STMF('/SMZVDTA/etc/freshclam.conf')

or simply by using F8=Edit freshclam.conf

The file contains four lines beginning with the strings:

#HTTPProxyServer
#HTTPProxyPort
#HTTPProxyUsername
#HTTPProxyPassword

Remove the # character from each line.

Add the information for the Server, Port, Username, and Password, respectively.